package com.rjgc.title.model.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseApplyEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 科研奖励
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 16:11
 **/
@Data
@ApiModel(description = "ScientificAward")
@TableName("scientific_award")
public class ScientificAward extends BaseApplyEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "类别")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "奖励名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "获奖时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("grant_time")
    private Date GrantTime;

    @ApiModelProperty(value = "颁奖部门")
    @TableField("award_department")
    private String awardDepartment;

    @ApiModelProperty(value = "排名")
    @TableField("ranking")
    private String ranking;



}
